import request from '@/utils/request'

export function getUserApply(userId) {
    return request({
        url: `/ucenter/teacher-application/getUserApply/${userId}`,
        method: 'get',
    })
}

export function applyForTeacher(apply) {
    return request({
        url: `/ucenter/teacher-application/applyForTeacher`,
        method: 'post',
        data: apply
    })
}